package com.personal.ifanya.infrastructure.dal.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.personal.ifanya.infrastructure.dal.entity.ItemDO; 
public interface ItemDAO extends BasicDAO{
 
	List<ItemDO> selectAll(@Param("type") int type);

	ItemDO selectLastest(@Param("type") int type);
	
	ItemDO loadById(@Param("itemId") int itemId);
	
	int insert(ItemDO item);
	
}
